<html>
    <head>
        <link rel="stylesheet" type="text/css" href="/static/ext-all.css"/>
        <script type="text/javascript" src="/static/jquery.js"></script>
        <script type="text/javascript" src="/static/ext-jquery-adapter.js"></script> 
        <script type="text/javascript" src="/static/ext-all.js"></script> 

        <script type="text/javascript">
        
            Ext.onReady(function(){
        
	            Ext.IframeWindow = Ext.extend(Ext.Window, {
				onRender: function() {
				    this.bodyCfg = {
				        tag: 'iframe',
				        src: this.src,
				        cls: this.bodyCls,
				        style: {
				            border: '0px none'
				        }
				    };
				    Ext.IframeWindow.superclass.onRender.apply(this, arguments);
				}
				});
				
				var w = new Ext.IframeWindow({
				id:id,
				width:640,
				height:480,
				title:"Knowledge Control Solutions Iframe Window Sample",
				src:"http://www.google.es"
				})
				
				
				w.show();
	        });
        
        </script>
    </head>
    <body></body>
</html>